package com.hhh.springai_test.service;

import com.hhh.springai_test.model.po.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhh.springai_test.model.dto.AddBannerDTO;
import com.hhh.springai_test.model.dto.UpdateBannerDTO;
import java.util.List;

/**
* @author 29915
* @description 针对表【banner】的数据库操作Service
* @createDate 2025-02-01 10:56:28
*/
public interface BannerService extends IService<Banner> {
    
    /**
     * 添加Banner
     */
    Boolean addBanner(AddBannerDTO addBannerDTO);
    
    /**
     * 更新Banner
     */
    Boolean updateBanner(UpdateBannerDTO updateBannerDTO);
    
    /**
     * 删除Banner
     */
    Boolean deleteBanner(Long id);
    
    /**
     * 查询所有Banner
     */
    List<Banner> listBanner();
}
